package com.liu.mysqldemo.service;

import com.liu.mysqldemo.entity.Cosumers;

import java.util.List;

public interface CosumersService {

    int deleteByPrimaryKey(Integer id);

    int insert(Cosumers record);

    int insertSelective(Cosumers record);

    Cosumers selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Cosumers record);

    int updateByPrimaryKey(Cosumers record);

    List<Cosumers> findAllpersonBypage(Integer pageIndex, Integer pageSize);
}
